(function(angular){

  var coming_soon = angular.module('coming_soon',['ngRoute']);
  coming_soon.config(['$routeProvider',function($routeProvider){
    $routeProvider.when('/coming_soon',{
      templateUrl:'coming_soon/coming_soon.html',
      controller:'coming_soonCtrl'
    })
  }]);
  coming_soon.controller('coming_soonCtrl',['$scope','$http',function ($scope,$http) {
      $scope.loading = true;
     setTimeout(function () {
         $http.get('./coming_soon/data.json')
             .then(function (res){
                 $scope.loading = false;
                 $scope.data = res.data;
             });
     },1500);




    //$scope.data = [];
    //console.log($http);
    /*$http.get('./coming_soon/data.json')
    .then(function(res){
      //console.log(res);
      $scope.data = res.data;
    })*/
  }])


})(angular);
